package com.lhsy.djcloud.mapper;

import com.lhsy.djcloud.entity.Menu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wangzw
 * @since 2020-09-16
 */
public interface MenuMapper extends BaseMapper<Menu> {
    /**
     * 根据用户id加载菜单列表
     * @param userId
     * @return
     */
    List<Menu> selectByUserId(Integer userId);
}
